//
//  MYGImagesUploadViewUploadCell.swift
//  MYGrow
//
//  Created by lance on 2024/3/3.
//

import UIKit

class MYGImagesUploadViewUploadCell: UICollectionViewCell {
    // MARK: - Property
 
    // MARK: - init
    override init(frame: CGRect) {
        super.init(frame: frame)
        configUI()
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    // MARK: - UI
    private func configUI() {
        contentView.addSubview(imageView)
        imageView.snp.makeConstraints { make in
            make.edges.equalToSuperview()
        }
    }
    
    // MARK: - lazy load
    private lazy var imageView: UIImageView = {
        let imageView = UIImageView(image: UIImage(named: "Common/addimage"))
        imageView.contentMode = .scaleAspectFill
        imageView.backgroundColor = .clear
        imageView.clipsToBounds = true
        imageView.layerCornerRadius = 5
        return imageView
    }()
}
